import request from '@/utils/request'

// 查询装备推荐列表
export function listFhMapEquipmentrecommend(query, pageReq) {
  return request({
    url: '/act/fhMapEquipmentrecommend/list',
    method: 'post',
    data: query,
    params: pageReq
  })
}

// 查询装备推荐详细
export function getFhMapEquipmentrecommend(id) {
  return request({
    url: '/act/fhMapEquipmentrecommend/' + id,
    method: 'get'
  })
}

// 新增装备推荐
export function addFhMapEquipmentrecommend(data) {
  return request({
    url: '/act/fhMapEquipmentrecommend',
    method: 'post',
    data: data
  })
}

// 修改装备推荐
export function updateFhMapEquipmentrecommend(data) {
  return request({
    url: '/act/fhMapEquipmentrecommend',
    method: 'put',
    data: data
  })
}

// 删除装备推荐
export function delFhMapEquipmentrecommend(id) {
  return request({
    url: '/act/fhMapEquipmentrecommend/' + id,
    method: 'delete'
  })
}

// 导出装备推荐
export function exportFhMapEquipmentrecommend(query) {
  return request({
    url: '/act/fhMapEquipmentrecommend/export',
    method: 'get',
    params: query
  })
}
